/**
 * VariableSettingService.java
 * 2008-3-13
 * @author 屈甲康
   qujiakang@gmail.com
 */
package org.jackysoft.service;

import java.util.Collection;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jackysoft.data.ServiceProvider;
import org.jackysoft.entity.OsVariableContext;

/**
 * @author 屈甲康 QQ285799123
 * 
 */
public interface OsVariableContextService extends
		ServiceProvider<OsVariableContext> {
	final static Log logger = LogFactory.getLog(OsVariableContextService.class);

	OsVariableContext findByName(String refname, String name);

	Collection<OsVariableContext> findAllByRefname(String workflow);

	String findValue(String refname,String name);
	
	void removeByName(String refname, String name);

	void removeByRefname(String refname);
}
